
<div class="row animate fadeIn">
    <form id="" class="form-horizontal"  method="post">
      <div class="ibox-title" style="border:none;"><h5 style="color: #00afef"><i>View Meter Reading</i></h5>
        
      </div>
        <div class="ibox-content" id="">
          <?php foreach($read_data as $rd){?>
            <div class="form-group"><label class="col-lg-3 control-label">Mother Meter</label> 
                    <div class="col-lg-5">
                        <select style="" id="" class="chosen-select" name="" disabled>
                          <?php foreach ($mmeters as $mm) { ?>
                          <option value="<?php echo $mm->mmeter_id; ?>" ><?php echo $mm->mother_name; ?></option>
                          <?php } ?>
                        </select>
                    </div>
            </div>
            
              
        </div>


      


        <div class="ibox-content" id="">
            
            <div class="form-inline form-group" >
              <div>
                  <label class="col-lg-3 control-label">Consumed :</label>
                <div class="col-lg-4">
                  <label id="" class="control-label"><?php echo $rd->consumed; ?></label>
                </div>
              </div>
              <div>
                  <label class="col-lg-3 control-label">Reading Date :</label>
                <div class="col-lg-2">
                  <label id="" class="control-label"><?php echo $rd->read_date; ?></label>
                </div>
              </div>
            </div>
            <div class="form-inline form-group" >
              <div>
                  <label class="col-lg-3 control-label">Previous Meter Reading :</label>
                <div class="col-lg-4">
                  <label id="pmr_u" class="control-label"><?php echo $rd->previous_read; ?></label>
                </div>
              </div>
              <div>
                  <label class="col-lg-3 control-label">Present Meter Reading :</label>
                <div class="col-lg-2">
                  <label id="" class="control-label"><?php echo $rd->reading; ?></label>
                </div>
              </div>
            </div>
        </div>
      <?php } ?>


 
</div>
            
<script>
  $(document).ready(function(){
    $(".chosen-select").chosen({width:"100%;"});
    $('#viewX').click(function(){
        close_view();
    });

  });
       
</script>
